icontheme: fill correct information when loading GResource-backed GIcons
authorCosimo Cecchi <cosimoc@gnome.org>
Mon, 23 Feb 2015 01:49:55 +0000 (17:49 -0800)
committerCosimo Cecchi <cosimoc@gnome.org>
Mon, 23 Feb 2015 17:56:06 +0000 (09:56 -0800)
commitacd72ffabe88ae4078e1cc1c4c2377c6ea5aac5c
tree55c6beb2cef9d2d38200d8e350974f0360a131b5
parente7a2fc2d0184bb7e5b37c61c9787b6ae64efb532
icontheme: fill correct information when loading GResource-backed GIcons

When loading a GResource-backed GFileIcon into a GtkIconInfo we
currently fail to populate the is_resource private field.
Also, since is_svg is set by looking at the filename, and
g_file_get_path() returns NULL for a GResourceFile, is_svg was always
FALSE.

https://bugzilla.gnome.org/show_bug.cgi?id=744991
gtk/gtkicontheme.c